export const rules = {
  appName: [{ required: true, message: "请输入应用名称", trigger: "change" }],
  purchaseAccount: [
    { required: true, message: "请输入购买账号", trigger: "change" },
  ],
  accountName: [
    { required: true, message: "请选择购买账号后自动填入", trigger: "change" },
  ],
  transactionTime: [
    { required: true, message: "请选择成交时间", trigger: "change" },
  ],
  usagePeriod: [
    { required: true, message: "请输入使用期限", trigger: "change" },
    { min: 1, max: 100, message: "长度在 1 到 100 个字符", trigger: "change" },
  ],
  expirationTime: [
    { required: true, message: "请选择到期时间", trigger: "change" },
  ],
  status: [{ required: true, message: "选择授权状态", trigger: "change" }],
};
